package com.ydd.common.result;

public enum SuccessRespCode {

    Ok(200, "请求成功");


    /**
     * 值
     */
    private final Integer value;

    /**
     * 名称
     */
    private final String name;

    SuccessRespCode(Integer value, String name) {
        this.value = value;
        this.name = name;
    }

    public Integer getValue() {
        return value;
    }

    public String getName() {
        return name;
    }

}
